package com.aliwo.service;

import com.aliwo.domain.VideoOrder;
import com.aliwo.dto.VideoOrderDto;

/**
 * 订单接口.
 *
 * @author Xu Yayuan
 * @date 2021/11/27
 */
public interface VideoOrderService {
    /**
     * 下单接口
     * @param videoOrderDto
     * @return
     */
    String save(VideoOrderDto videoOrderDto);

    VideoOrder findByOutTradeNo(String outTradeNo);

    int updateVideoOderByOutTradeNo(VideoOrder videoOrder);
}
